using System.ComponentModel.DataAnnotations;

namespace StudentVideo.Shared.Dtos.Course;


public class CourseEditRequest {
   [Required]
   [MaxLength(50)]
   public required string Id { get; set; }

   /// <summary>
   /// 状态
   /// </summary>
   public bool? Status { get; set; }

   /// <summary>
   /// 名称
   /// </summary>
   [MaxLength(50)]
   public string? Name { get; set; }

   /// <summary>
   /// 编码
   /// </summary>
   [MaxLength(50)]
   public string? Code { get; set; }
}
